Latest post is a big one: "Why you shouldn't invoke setup.py directly"
A lot of people don't know about this because we haven't been great about getting the word out. This blog post is in part an attempt to remedy this.
Please help spread the word!
https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html
From the archives of my blog but still very relevant: "pytz: The Fastest Footgun in the West", about why you probably shouldn't be using pytz:
https://blog.ganssle.io/articles/2018/03/pytz-fastest-footgun.html
I am unreasonably pleased that #PyBay has open wifi with no captive portal.
So this happened at TSA today, which means it's time to get new headphones. Are bone conduction headphones still the best option for headphones that you can wear all the time but you can hear it when people talk to you?
My ideal headset would be very discreet, such that people can barely tell you are wearing them (or if they are visible I would prefer if people felt comfortable talking to me while wearing them).
I do not use Apple products.
Give this a go to help guide the future of the web!
Though I will admit that there are also NO OTHER REASONS for putting lazy imports in a context manager. It's just the backwards compatibility use case and no others.
I further contend that other than `contextlib.suppress`, there is no other situation where lazy imports in a context manager could be dangerous.
*Ahem* I hereby affirmatively state that the ONLY ergonomic way to functionally backport lazy imports would be to use a context manager. Even a *genius* could not come up with a better way.
I think I should have used Cunningham's law instead of asking questions in [this post](https://discuss.python.org/t/pep-810-explicit-lazy-imports/104131/176). I suspect I would have gotten more people weighing in.
Let me post a *non*-subtoot for once... We made a thing!
https://discuss.python.org/t/pep-810-explicit-lazy-imports/104131
At least I'm teaching my children the valuable lesson that watching sports is boring and unpleasant.
First time going to a baseball game since I was a child and I am impressed with the degree to which every aspect of this is mild to moderately unpleasant, starting with the fact that in order to access the tickets it was *required* to download the "MLB Ballpark" app (which is apparently different from the "MLB" app).
As promised, what I've been doing in 2025 part 2. Announcing FinFam: https://sedimental.org/announcing_finfam.html
My credit card when I buy gas on a highway near my house: "Seems pretty sus... 🤨"
My credit card when I order zero calorie sauces from Spain, delivered to someone else in the Netherlands, with that person's name as the cardholder: "All good bro, enjoy your sauces! 👍"
I can't tell if their fraud detection are not that good or if they just know me really well 😛
Do you dislike drafting long text messages on a mobile keyboard? Me too!
I created a little tool that lets you write text messages from a computer and then send them from your phone by scanning a QR code:
https://sethmlarson.dev/draft-sms-and-imessage-from-any-computer-keyboard
Programmer working at Google. Python core developer and general FOSS contributor. I also post some parenting content.